package br.com.foxline.atlasmobile.entities;

import java.io.Serializable;

import com.j256.ormlite.field.DataType;
import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

@DatabaseTable
public class Bairro implements Serializable{
	
	@DatabaseField(columnName = "id", generatedId = true)
	private Long id;
	
	@DatabaseField(dataType = DataType.STRING)
	private String uf;
	
	@DatabaseField(foreign = true)
	private City city;
	
	@DatabaseField(dataType = DataType.STRING)
	private String nome;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getUf() {
		return uf;
	}

	public void setUf(String uf) {
		this.uf = uf;
	}

	public City getCity() {
		return city;
	}

	public void setCity(City city) {
		this.city = city;
	}

	public String getNome() {
		return nome;
	}

	public void setNome(String nome) {
		this.nome = nome;
	}
	
	
	
	

}
